package dao;

import java.util.List;

import dto.SelectCondition;
import entity.Member;

public interface MemberDao {

	List<Member> selectByPage(int pageSize, int pg);

	Member selectById(int id);

	Member selectByPhone(String phone);

	List<Member> selectByCondition(SelectCondition cond);

	boolean insert(Member member);

	boolean update(Member member);

	boolean deleteByIds(List<Integer> ids);

	int selectCount();

	int selectCountByCondition(SelectCondition cond);

}
